package JavaCore;

public class Data7 {
	String name;
	int kor ;
	int eng;
	int mat;
	int comp;
	int tot;
	double avg;
	
	public Data7(String n,int k, int e, int m,int c){
		this.name = n;
		this.kor = k;
		this.eng = e;
		this.mat = m;
		this.comp = c;
		
		tot = kor + eng + mat + comp;
		avg = tot / 4.0;
	}
}
